.data

var1: .asciz "number: %d\n"

.text
.globl _start
_start:

mov r3, #0

loop: 
    add  r6, r6, #1
    push {ip, lr}
    ldr  r0, =string
    mov  r1, r6
    bl   printf    
    pop  {ip, pc}
    cmp  r6, #10
    ble  loop

    .data

    ldr r0, = var1
    bl printf
